<?php if (!empty($this->arrMenuVideo)){ ?>
    <div class="menu_video_left">
        <ul id="list_cate_video">
            <li class="menu_top"><a href="javascript:;" onclick="VideoPage.loadListVideo(<?php echo CATE_ID_VIDEO; ?>);" title="Tất cả video" alt="Tất cả video">Tất cả video</a></li>
            <?php if (isset($this->arrMenuVideo["child"]) && !empty($this->arrMenuVideo["child"])){
                foreach ($this->arrMenuVideo["child"] as $cate){
                    $class = ($cate["category_id"] === $this->videoDetail["category_id"]) ? "active" : ""; ?>
                    <li class="menu_cap1 <?php echo $class; ?>" id="menu_<?php echo $cate["category_id"]; ?>"><a href="javascript:;" onclick="VideoPage.loadListVideo(<?php echo $cate["category_id"]; ?>);" title="<?php echo $cate["catename"]; ?>"><?php echo $cate["catename"]; ?></a></li>
                    <?php
                    if (isset($cate["child"]) && !empty($cate["child"])){
                        foreach ($cate["child"] as $value){
                            $class = ($value["category_id"] === $this->videoDetail["category_id"]) ? "active" : "";
                    ?>
                    <li class="<?php echo $class; ?>" id="menu_<?php echo $value["category_id"]; ?>"><a href="javascript:;" onclick="VideoPage.loadListVideo(<?php echo $value["category_id"]; ?>);"><span class="icon_portal_thethao icon_arrow_4x5">&nbsp;</span><?php echo $value["catename"]; ?></a></li>
                    <?php
                        } //end foreach
                    } // endif
                }
            } ?>
        </ul>
    </div>
<?php } ?>